package org.dataframework.security.core.context;

import org.dataframework.security.core.db.Rule;

import java.util.List;

/**
 * @Author: LiuCf
 * @Email: 1316640406@qq.com
 * @Date: 2021/7/3 21:12
 */
public class RuleContext {
    private String queryType;

    private List<Rule> rules;

    public RuleContext() {
    }

    public RuleContext(String queryType, List<Rule> rules) {
        this.queryType = queryType;
        this.rules = rules;
    }

    public String getQueryType() {
        return queryType;
    }

    public void setQueryType(String queryType) {
        this.queryType = queryType;
    }

    public List<Rule> getRules() {
        return rules;
    }

    public void setRules(List<Rule> rules) {
        this.rules = rules;
    }
}
